P+ - Diddy Kong - Action - 0x27 AttackS3
Entry Script (Common)
- ControllerUnk02
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CallEveryFrame { thread_id: 9, script: 0x12a9c }
- loop Infinite times:
- ControllerUnk02
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableGlide) }
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x13, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21000 })] }
- Case(1)
- if ((InternalConstantInt(ControlStickYAxis2) GreaterThan InternalConstantInt (0xc50)))
- ChangeSubactionRestartFrame(AttackS3Hi)
- else
- if ((InternalConstantInt(ControlStickYAxis2) LessThan InternalConstantInt (0xc51)))
- ChangeSubactionRestartFrame(AttackS3Lw)
- else
- ChangeSubactionRestartFrame(AttackS3S)
- Case(2)
- ChangeSubactionRestartFrame(AttackDashAir)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(7)] }
- UnknownEvent { namespace: 0xc, code: 0x27, unk1: 0x0, arguments: [] }
- Case(3)
- ChangeSubactionRestartFrame(NONE_4)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(8)] }
- UnknownEvent { namespace: 0xc, code: 0x27, unk1: 0x0, arguments: [] }
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 21000 }), Value(0), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 23183 })] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 19 })] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: BoolIsTrue }, Variable(Variable { memory_type: RandomAccess, data_type: Bool, address: 16 })] }
- LoopRest
Exit Script (Common)